package com.cloud.tsp.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.cloud.api.domain.tsp.QueryTenant;
import com.cloud.api.domain.tsp.VehicleTenant;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author haohaibo
 * @since 2023-11-27
 */
public interface VehicleTenantMapper extends BaseMapper<VehicleTenant> {

    IPage<VehicleTenant>selectTenantList(IPage<?> page,@Param("c") QueryTenant para);

    List<Integer> selectVehicleCountMonth();

    List<VehicleTenant> selectAllTenantList(@Param("c") QueryTenant para);
}